#ifndef REPOSOLUTIONTASK_H
#define REPOSOLUTIONTASK_H

#include <QRunnable>
#include <QObject>

class RepoAnalyzerManager;
class RepoSolutionTask : public QRunnable
{
public:
    RepoSolutionTask();

    void setManager(RepoAnalyzerManager *newManager);
    void setDir(const QString &newDir);
    void setName(const QString &newName);
    void setPath(const QString &newPath);
    void setManual(bool newManual);

    // QThread interface
protected:
    virtual void run() override;

private:
    RepoAnalyzerManager *manager;
    QString dir;
    QString name;
    QString path;

    bool manual;
};


#endif // REPOSOLUTIONTASK_H
